<template>
  <el-form class="right-event-general">
    <el-divider content-position="center">通用接口数据计数</el-divider>
    <dropdown-normal v-model="wbData.ele_key" :valLists="GENERAL_TYPES" label="通用接口类型" :bIsBtn="false" @change="onUpdateWbComponent" ></dropdown-normal>
    <!-- <input-normal label="每个用户每天分配数" v-model="wbData.day_limit"  @change="onUpdateWbComponent"></input-normal> -->
    <input-normal label="限制计数总数" v-model="wbData.total"  @change="onUpdateWbComponent"></input-normal>
    <input-normal label="调整计数基数" v-model="wbData.base"  @change="onUpdateWbComponent"></input-normal>
  </el-form>
</template>

<script>
import InputNormal from '@/views/components/edit/InputNormal.vue'
import DropdownNormal from '@/views/components/edit/DropdownNormal.vue'

import { GENERAL_TYPES, GENERAL_STATUS_TYPES } from '@/common/const-general'
import { addUtils } from "@/views/js/add-utils"

  export default {
    mixins: [addUtils],
    setup () {
      return {
        // DIGIT_MAP: DIGIT_MAP,
        GENERAL_TYPES: GENERAL_TYPES,
        GENERAL_STATUS_TYPES: GENERAL_STATUS_TYPES,
      }
    },
    components: {
      InputNormal,
      DropdownNormal,
    },
  }
</script>
